.modal-warp {
  /*display: none;*/
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  .modal-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, .3);
    transition: opacity .3s;
  }
  .modal-container {
    position: relative;
    height: auto;
    width: 500px;
    min-width: 500px;
    border-radius: 5px;
    padding: 0 20px;
    margin: 0 auto;
    opacity: 0;
    background-color: #FFFFFF;
    transition: opacity .3s, margin-top .3s;
    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 60px;
      .modal-title {
        color: #777777;
        font-size: 24px;
      }
      .modal-close {
        cursor: pointer;
        &:before {
          color: #777777;
          font-size: 20px;
          font-weight: 700;
        }
      }
    }
    .modal-main {
    }
    .modal-btn {
      display: flex;
      padding: 20px 0;
    }
  }
  &.active {
    .modal-mask {
      opacity: 1;
    }
    .modal-container {
      margin-top: 200px;
      opacity: 1;
    }
  }
}